<template>
  <view class="detail">
    <view class="title">房屋信息</view>
    <view class="cell">{{title}}</view>
    <view class="title">业主信息</view>
    <u--form>
      <u-form-item label="姓名" borderBottom>
        <u--input placeholder="请输入您的真实姓名" border="none"></u--input>
      </u-form-item>
      <u-form-item label="性别" borderBottom>
        <u-radio-group>
          <u-radio :customStyle="{marginRight: '16px'}" v-for="(item, index) in radiolist1" :key="index" :label="item"
            :name="item">
          </u-radio>
        </u-radio-group>
      </u-form-item>
      <u-form-item id='phone' label="手机号" borderBottom>
        <u--input placeholder="请输入您的手机号" border="none"></u--input>
        <text class="code">获取验证码</text>
      </u-form-item>
      <u-form-item label="验证码" borderBottom>
        <u--input placeholder="请输入您的验证码" border="none"></u--input>
      </u-form-item>
    </u--form>
    <view class="idcard">
      <view class="text">
        <view class="topText">上传本人身份证照片</view>
        <view class="topTip">请拍摄证件原件，并使照片中证件边缘完整，文字清晰，光线均匀。</view>
      </view>
      <u-upload :fileList="fileList1" name="1" multiple uploadIcon='plus' uploadText='上传人像面照片'>
      </u-upload>
      <u-upload :fileList="fileList1" name="1" multiple uploadIcon='plus' uploadText='上传国徽面照片'>
      </u-upload>
    </view>
    <view class="submit">
      <image src="../../static/icon/check.png"></image>
      <view>提交审核</view>
    </view>
  </view>
</template>

<script>
  export default {
    data() {
      return {
        title: '',
        radiolist1: ['男', '女']
      }
    },
    onLoad(options) {
      console.log(options)
      this.title = JSON.parse(options.name).title + JSON.parse(options.name).num + '室'
    },
    methods: {

    }
  }
</script>

<style lang="less" scoped>
  .detail {
    background-color: #fff;
    padding-bottom: 231rpx;
  }

  .cell {
    background-color: #fff;
    padding-left: 30rpx;
    height: 102rpx;
    line-height: 102rpx;
    color: #333333;
    font-size: 28rpx;
  }

  ::v-deep .u-form {
    background-color: #fff;
    padding-left: 30rpx;

  }

  ::v-deep .u-form-item__body__left {
    width: 208rpx !important;
    color: #333333;
    font-size: 28rpx
  }

  .title {
    padding-left: 30rpx;
    width: 100%;
    height: 86rpx;
    color: #979797;
    font-size: 24rpx;
    line-height: 86rpx;
    background-color: #FAFAFA;
  }

  #phone {
    position: relative;
  }

  .code {
    color: #5591AF;
    font-size: 28rpx;
    position: absolute;
    right: 28rpx;
  }

  .idcard {
    height: 886rpx;
    width: 100%;
    // background-color: #FAFAFA;
    padding-left: 30rpx;

    .text {
      height: 85rpx;
      // background-color: pink;
      padding: 30rpx 0;
      // box-sizing: border-box;
      border-bottom: 1px solid #F2F2F6;

      .topText {
        color: #333333;
        font-size: 28rpx;
        margin-bottom: 10rpx;
      }

      .topTip {
        color: #C3C3C5;
        font-size: 22rpx
      }
    }

    ::v-deep .u-upload__button {
      height: 340rpx !important;
      width: 690rpx !important;
    }
  }

  .submit {
    width: 100%;
    height: 231rpx;
    background-color: #fff;
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    image {
      width: 40rpx;
      height: 40rpx;
    }
  }
</style>
